package xzy.com.service;

import java.util.List;

public interface BaseService<T> {
	public int add(T obj);
	public int delete(Long id);
	public int edit(T Object);
	public T   get(T obj);
	public T   getById(Long id);
	public T   getByName(String name);
	public List<T> list();	
}
